package ooday02;
/**
 * 医生：派生类
 * @author ${pxl}
 */
public class Doctor extends Person{
    String title;
    void cut(){
        System.out.println(name+"正在做手术...");
    }
   Doctor(String name, String address,int age,String title){
        super(name, address, age);
        this.title=title;
    }

}
